package com.ostrich.demomvvm

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androidx.navigation.findNavController
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.ostrich.demomvvm.databinding.ActivityMainBinding
import com.ostrich.demomvvm.mvvm.BaseActivity
import com.ostrich.demomvvm.net.RetrofitManager


class MainActivity : BaseActivity<ActivityMainBinding>() {
    override fun bindLayout(): Int {
        return R.layout.activity_main
    }

    override fun initView() {
        val navController = findNavController(R.id.nav_host_fragment_container)
        binding?.let {
            it.bottomView.setupWithNavController(navController)
        }


    }

    override fun initData() {

    }

    override fun initListener() {

    }


}